export function jl3D(a: { x: number; z: number; y: number; },b: { x: number; z: number; y: number; }){
    let re = Math.sqrt(Math.sqrt((Math.abs(a.x-b.x))*(Math.abs(a.x-b.x))+(Math.abs(a.z-b.z))*(Math.abs(a.z-b.z)))*Math.sqrt((Math.abs(a.x-b.x))*(Math.abs(a.x-b.x))+(Math.abs(a.z-b.z))*(Math.abs(a.z-b.z)))+(Math.abs(a.y-b.y))*(Math.abs(a.y-b.y)))
    return re;
}
export function jl2D(a: { x: number; z: number;  },b: { x: number; z: number;  }){
    let re = Math.sqrt(Math.abs(a.x-b.x)*Math.abs(a.x-b.x)+Math.abs(a.z-b.z)*Math.abs(a.z-b.z));
    return re;
}